package com.sandasai.domain;

/**
 * Bankcard entity. @author MyEclipse Persistence Tools
 */

public class Bankcard implements java.io.Serializable {

	// Fields

	private Integer id;
	private String bankCardNum;
	private User user;

	/** default constructor */
	public Bankcard() {
	}

	/** full constructor */
	public Bankcard(String bankCardNum, User user) {
		this.bankCardNum = bankCardNum;
		this.user = user;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBankCardNum() {
		return this.bankCardNum;
	}

	public void setBankCardNum(String bankCardNum) {
		this.bankCardNum = bankCardNum;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}